

package com.kimo.shop.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kimo.shop.bean.model.NotifyLog;
import com.kimo.shop.bean.param.OrderParam;
import com.kimo.shop.common.util.PageParam;
import com.kimo.shop.dao.NotifyLogMapper;
import com.kimo.shop.service.NotifyLogService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 *
 *
 * @author kimo-taozhouchuan
 * @date 2020-07-01 15:44:27
 */
@Service
@AllArgsConstructor
public class NotifyLogServiceImpl extends ServiceImpl<NotifyLogMapper, NotifyLog> implements NotifyLogService {

    private final NotifyLogMapper notifyLogMapper;


    @Override
    public IPage<NotifyLog> pageByParam(PageParam<NotifyLog> page, OrderParam orderParam) {
        return notifyLogMapper.pageByParam(page,orderParam);
    }

    @Override
    public Integer countMsgNum(String orderNumber) {
        return notifyLogMapper.countMsgNum(orderNumber);
    }
}
